package cn.getech.data.metadata.model.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "元数据返回列表")
@Data
public class CollectionTableInfoRes implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Integer id;
    @ApiModelProperty(value = "表名称")
    private String tableName;
    private String tableAlias;
    @ApiModelProperty(value = "录入方式 0 手动采集 1自动采集")
    private Integer taskType;
    @ApiModelProperty(value = "表类型")
    private Integer tableType;
    //实时表类型
    private Integer realType;
    @ApiModelProperty(value = "最近一次修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "负责人")
    private String username;
    private Integer hotCount;
    private Integer ownModule;

    @ApiModelProperty(value = "所属系统")
    private String systemName;
    @ApiModelProperty(value = "所属模块")
    private String moduleName;
    @ApiModelProperty(value = "数据库")
    private String dbName;
    @ApiModelProperty(value = "首次录入时间")
    private Date createTime;
    @ApiModelProperty(value = "描述")
    private String tableDesc;
    @ApiModelProperty(value = "表数据总条数")
    private Long rowsNum;
    @ApiModelProperty(value = "表的大小")
    private BigDecimal totalSize;
    @ApiModelProperty(value = "分区字段")
    private String partitionField;
    @ApiModelProperty(value = "字段")
    private String allField;
    @ApiModelProperty(value = "表的大小")
    private String totalSizeStr;
    private Integer tempFlag;
    private Integer sourceId;

    private  Integer tableInfoId;

}
